//
//  ImagePopupVC.swift
//  BWPanelKit_Example
//
//  Created by zhuxuhong on 2022/2/24.
//  Copyright © 2022 CocoaPods. All rights reserved.
//

import Foundation
import BWPanelKit
import UIKit

class ImagePopupVC: PopupVC {
    @IBOutlet weak var imageView: UIImageView!
    
    private var image: UIImage?
    
    init(image: UIImage) {
        super.init(nibName: nil, bundle: nil)
        self.image = image
    }
    
    override func didLoad() {
        super.didLoad()
        
        imageView.image = image
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
